package cn.xsw.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangYiHui
 * @since 2021-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_business_category")
@ApiModel(value="BusinessCategory对象", description="")
public class BusinessCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "业务分类id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "业务标题")
    private String title;

    @ApiModelProperty(value = "标题图片")
    private String img;


    @ApiModelProperty(value = "是否显示在主页1是0否")
    private Boolean isIndex;
}
